package com.cnap.model.schedule.engine;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 算法需要的资源模型
 *
 * @author xc
 **/
public class AlgRequireResource {
    @JsonProperty(value = "cluster_name")
    private String clusterName;
    @JsonProperty(value = "replica_num")
    private int replicaNum;

    /**
     * get
     *
     * @return ClusterName
     */
    public String getClusterName() {
        return clusterName;
    }

    /**
     * set
     *
     * @param clusterName clusterName
     */
    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    /**
     * get
     *
     * @return ReplicaNum
     */
    public int getReplicaNum() {
        return replicaNum;
    }

    /**
     * set
     *
     * @param replicaNum replicaNum
     */
    public void setReplicaNum(int replicaNum) {
        this.replicaNum = replicaNum;
    }
}
